import store from "@/store";

function setStateData(key, val) {
  store.commit("setStateData", { key, val });
}

const $store = {
  ...store,
  state: store._state.data,
  setStateData,
};

export default $store;
